#!/bin/sh

# This script regenerates the LICENSE_GEMS file with the current gem licenses.
# It should be run automatically whenever Metasploit cuts a new release itself.

gem install license_finder --version "5.11.1"
echo "This file is auto-generated by tools/dev/update_gem_licenses.sh" > LICENSE_GEMS
license_finder | grep , >> LICENSE_GEMS
